<template>
       <div class="main-container" :class="{ full: full }">
        <router-view v-slot="{ Component }" v-if="$route.meta.noCache === false">
            <keep-alive :key="$route.fullPath">
                <component :is="Component" />
            </keep-alive>
        </router-view>
        <router-view :key="$route.fullPath" v-else></router-view>
    </div>
</template>

<script setup lang="ts">
const full = ref<Boolean>(false);
</script>

<style scoped></style>
